home *** CD-ROM | disk | FTP | other *** search
- append
-
- Syntax: append documentObject, member whichCastmember [, ... ]
- append documentObject, member whichCastmember
- of castLib whichLib [, ... ]
- append documentObject, castLib whichCast [, ... ]
- append documentObject, sprite whichSprite [, ... ]
- append documentObject, string [, ... ]
- append documentObject, list [, ... ]
-
- This command appends one or more items to a PrintOMatic Lite document object.
-
- type of object what gets appended
- _____________________________________________________________________
-
- text field cast member the text of the field, using the specified
- fonts and styles
- rich text cast member the bitmap image of the cast member,
- including anti-aliasing
- bitmap cast member the cast member graphic
- PICT cast member the cast member graphic
- cast library all printable cast members in the library,
- in cast sequence
- sprite the cast member of the sprite
- text string the text string, in the default font
- (Geneva 10pt on Macintosh, Arial 10pt
- on Windows)
- list (linear or property) the elements in the list
-
- Example:
-
- The following example creates a PrintOMatic Lite document object, sets the document name, appends a number of items to the document, and prints it:
-
- set doc = new(xtra "PrintOMatic_Lite")
- if not objectP(doc) then exit
- setDocumentName doc, "My Example Document"
- append doc, sprite 1
- append doc, [member "image", member "caption", sprite 5]
- append doc, castLib "printout"
- if doJobSetup(doc) then print doc
- set doc = 0
-
-
-